package com.happy_hao.msg.service;

import com.happy_hao.msg.common.Result;
import com.happy_hao.msg.dto.TemplateRequest;
import jakarta.validation.Valid;

public interface TemplateService {

    Result addTemplate(@Valid TemplateRequest templateRequest);

    Result getAllTemplate();

    Result deleteTemplate(String templateId);

    Result updateTemplate(@Valid TemplateRequest templateRequest);
}
